package cn.dansj.entity;

import cn.dansj.bean.TableConstant;
import cn.dansj.enums.GlobalEnv;
import cn.dansj.common.utils.transfer.DefaultMethods;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;

import java.io.Serial;
import java.io.Serializable;

@Entity
@Table(name = TableConstant.tag)
public class ArticleTag extends DefaultMethods implements Serializable {
    @Serial
    private static final long serialVersionUID = GlobalEnv.SerialVersionUID;

    @Id
    private String sequence;
    private String blogSequence;
    private String tag;

    public String getSequence() {
        return sequence;
    }

    public void setSequence(String sequence) {
        this.sequence = sequence;
    }

    public String getBlogSequence() {
        return blogSequence;
    }

    public void setBlogSequence(String blogSequence) {
        this.blogSequence = blogSequence;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }
}
